package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author chenkai
 * @email 2073412335@qq.com
 * @date 2022-02-23 16:28:11
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    //自定义根据标签Id和标签名更新的方法 写mapper语句
    //推荐给参数取名 mapper文件中获取方便 #{起的名}
    void updateCategory(@Param("catId") Long catId,@Param("name") String name);
}
